﻿using System;
using System.Collections.Generic;
using System.Text;

namespace CNVP.JShop.BLL
{
    public class CNVP_RetrievePwdInfo
    {
        DAL.CNVP_RetrievePwdInfo dal = new DAL.CNVP_RetrievePwdInfo();

        #region BLL
        #region 添加
        /// <summary>
        /// 添加
        /// </summary>
        public int Add_CNVP_RetrievePwdInfo(Model.CNVP_RetrievePwdInfo obj)
        {
            return dal.Insert(obj);
        }
        #endregion

        /// <summary>
        /// 查看单个
        /// </summary>
        public Model.CNVP_RetrievePwdInfo GetSingle_CNVP_RetrievePwdInfoById(Guid ID)
        {
            return dal.LoadById(ID);
        }
        /// <summary>
        /// 删除已经存在的记录
        /// </summary>
        /// <param name="id">GUID值</param>
        /// <returns>受影响的信息条数</returns>
        public int DeleteObject(Guid id)
        {
            return dal.DeleteObject(id);
        }
        #endregion
    }
}
